package com.liu.user.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.transaction.Transactional;
import java.io.Serializable;
import java.util.Date;

@Entity
@Transactional
@Table(name = "sx_user")
@Getter
@Setter
@NoArgsConstructor
public class User  implements Serializable {

    @Id
    private String id;

    private String name;

    private String password;

    private String phone;


    private Integer age;


    private Date creatTime;


}
